linq 动态拼接where条件 类似 T_SQL And Or 废话不多说,直接上代码 复制可 View Code 调用时 express= express.And(a => ids.Contains(id)); ...